home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <TITLE>Crystal Report Viewer</TITLE>
- </head>
- <SCRIPT LANGUAGE="JavaScript">
- </SCRIPT>
- <BODY BGCOLOR=C6C6C6 LANGUAGE=VBScript topmargin=0 leftmargin=0>
-
- <OBJECT ID="CRViewer"
- CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213"
- WIDTH=100% HEIGHT=99%
- CODEBASE="%13/activeXViewer/activexviewer.cab#Version=%4">
- <PARAM NAME="EnableDrillDown" VALUE=%5>
- <PARAM NAME="EnableExportButton" VALUE=%6>
- <PARAM NAME="DisplayGroupTree" VALUE=%7>
- <PARAM NAME="EnableGroupTree" VALUE=%14>
- <PARAM NAME="EnableAnimationControl" VALUE=%8>
- <PARAM NAME="EnablePrintButton" VALUE=%9>
- <PARAM NAME="EnableRefreshButton" VALUE=%10>
- <PARAM NAME="EnableSearchControl" VALUE=%11>
- <PARAM NAME="EnableZoomControl" VALUE=%12>
- <PARAM NAME="EnableSearchExpertButton" VALUE=0>
- <PARAM NAME="EnableSelectExpertButton" VALUE=0>
- </OBJECT>
-
-
- <SCRIPT LANGUAGE="VBScript">
- <!--
-
- Sub window_onLoad()
- Page_Initialize()
- End Sub
-
- Sub Page_Initialize
- On Error Resume Next
- Dim webBroker
- Set webBroker = CreateObject("WebReportBroker9.WebReportBroker")
- if err.number <> 0 then
- window.alert "The Crystal ActiveX Viewer is unable to create it's resource objects."
- CRViewer.ReportName = "%1"
- else
- Dim webSource0
- Set webSource0 = CreateObject("WebReportSource9.WebReportSource")
- webSource0.ReportSource = webBroker
- webSource0.URL = "%2"
- webSource0.PromptOnRefresh = %15
- %3
- CRViewer.ReportSource = webSource0
- end if
- CRViewer.ViewReport
- End Sub
-
- -->
- </SCRIPT>
- <OBJECT ID="ReportSource"
- CLASSID="CLSID:934CC260-C5AA-43C4-A657-7B70C5B3DAE1"
- HEIGHT=1% WIDTH=1%
- CODEBASE="%16/activeXViewer/activexviewer.cab#Version=%17">
- </OBJECT>
- <OBJECT ID="ViewHelp"
- CLASSID="CLSID:4B5C9C28-3806-47b5-89A9-93063323160F"
- HEIGHT=1% WIDTH=1%
- CODEBASE="%18/activeXViewer/activexviewer.cab#Version=%19">
- </OBJECT>
- <OBJECT ID="ReportParameter"
- CLASSID="CLSID:41289E02-198A-4034-8CF9-5A8739A80D0D"
- HEIGHT=1% WIDTH=1%
- CODEBASE="%20/activeXViewer/reportparameterdialog.cab#Version=%21">
- </OBJECT>
- <div>
- <!-- this empty div prevents IE from showing a bunch of empty space for the controls above.. I don't know why though. -->
- </div>
- </body>
- </html>
-